import java.util.UUID;

//测试用的，消除字符串中的 -
public class UUIDMain {
    public static void main(String[] args) {
        String uuid = UUID.randomUUID().toString();
        System.out.println(uuid);
        System.out.println(uuid.length());

        String uuid2 = uuid.replace("-", "");
        System.out.println(uuid2);
        System.out.println(uuid2.length());
    }
}
